.chat-box {
    width: 100%;
    height: 100%;
}
.message-list {
    position: absolute;
    top: 70px;
    bottom: 123px;
    width: 100%;
    font-size: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    .message-box {
        margin: 4px 0;
    }
    .message-item {
        display: flex;
        align-items: flex-start;
    }
    .message-user-name {
        color: rgb(146, 171, 244);
        margin: 0 12px 0 10px;
    }
    .message-user-content {
        color: black;
    }
}
.message-input {
    position: absolute;
    height: 123px;
    width: 100%;
    bottom: 0px;
    border-top: solid 1px rgb(236, 236, 237);
    textarea {
        width: 100%;
        height: 72px;
        padding: 10px 10px 0 10px;
        font-size: 12px;
        border: none;
        resize: none;
    }
    textarea::-webkit-input-placeholder, 
    textarea::-moz-placeholder,
    textarea:-moz-placeholder,
    textarea:-ms-input-placeholder {
        color: rgb(142, 146, 159);
    }
    .input-send {
        width: 100%;
        display: flex;
        align-items: center;
        a {
            margin-left: 10px;
            display: inline-block;
            background-image: url('../img/icon.svg');
            background-position: -22px -5px;
            width: 20px;
            height: 20px;
        }
        button {
            margin-left: 120px;
            color: white;
            border: none;
            width: 70px;
            height: 30px;
            border-radius: 5px;
            background: linear-gradient(right, rgb(12, 164, 255),  rgb(82, 228, 255));
        }
        button:disabled {
            opacity: 0.3;
        }
    }
}
.gift-content {
    position: relative;
    margin: 14px 0;
    display: flex;
    align-items: center;
    width: 100%;
    i, span {
        display: inline-block;
    }
    .gift-rank {
        margin-left: 7px;
        width: 15px;
        height: 15px;
        font-size: 12px;
        line-height: 14px;
        border-radius: 50%;
        text-align: center;
        background-color: white;
        border: 1px solid rgb(200, 199, 204);
        color: rgb(200, 199, 204);
    }
    .gift-portrait {
        margin-left: 7px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-size: cover;
    }
    .gift-user-name {
        font-size: 13px;
        width: 52px;
        margin: 0 7px;
    }
    .gift-send {
        color: rgb(51, 53, 59);
        font-size: 13px;
        .gift-count {
            color: rgb(58, 145, 243);
            margin: 0 3px;
            cursor: pointer;
        }
    }
}
.gift-content:first-child, .gift-content:nth-child(2), .gift-content:nth-child(3) {
    .gift-rank {
        border: none;
        color: white;
    }
}
.gift-content:first-child {
    .gift-rank {
        background-color: rgb(255, 193, 44);
    }
}
.gift-content:nth-child(2) {
    .gift-rank {
        background-color: rgb(179, 211, 75);
    }
}
.gift-content:nth-child(3) {
    .gift-rank {
        background-color: rgb(96, 216, 255);
    }
}
.gift-panel {
    position: absolute;
    z-index: 100;
    background-color: white;
    width: 200px;
    top: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(151,151,151,0.2);
    border-radius: 5px;
    padding: 10px 20px;
    height: fit-content;
    font-size: 13px;
    li {
        color: rgb(51, 53, 59);
    }
}